package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class FeedsoutExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FeedsoutExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andOutstoreidIsNull() {
            addCriterion("outStoreID is null");
            return (Criteria) this;
        }

        public Criteria andOutstoreidIsNotNull() {
            addCriterion("outStoreID is not null");
            return (Criteria) this;
        }

        public Criteria andOutstoreidEqualTo(Integer value) {
            addCriterion("outStoreID =", value, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidNotEqualTo(Integer value) {
            addCriterion("outStoreID <>", value, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidGreaterThan(Integer value) {
            addCriterion("outStoreID >", value, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidGreaterThanOrEqualTo(Integer value) {
            addCriterion("outStoreID >=", value, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidLessThan(Integer value) {
            addCriterion("outStoreID <", value, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidLessThanOrEqualTo(Integer value) {
            addCriterion("outStoreID <=", value, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidIn(List<Integer> values) {
            addCriterion("outStoreID in", values, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidNotIn(List<Integer> values) {
            addCriterion("outStoreID not in", values, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidBetween(Integer value1, Integer value2) {
            addCriterion("outStoreID between", value1, value2, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andOutstoreidNotBetween(Integer value1, Integer value2) {
            addCriterion("outStoreID not between", value1, value2, "outstoreid");
            return (Criteria) this;
        }

        public Criteria andFeedidIsNull() {
            addCriterion("FeedID is null");
            return (Criteria) this;
        }

        public Criteria andFeedidIsNotNull() {
            addCriterion("FeedID is not null");
            return (Criteria) this;
        }

        public Criteria andFeedidEqualTo(Integer value) {
            addCriterion("FeedID =", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidNotEqualTo(Integer value) {
            addCriterion("FeedID <>", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidGreaterThan(Integer value) {
            addCriterion("FeedID >", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidGreaterThanOrEqualTo(Integer value) {
            addCriterion("FeedID >=", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidLessThan(Integer value) {
            addCriterion("FeedID <", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidLessThanOrEqualTo(Integer value) {
            addCriterion("FeedID <=", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidIn(List<Integer> values) {
            addCriterion("FeedID in", values, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidNotIn(List<Integer> values) {
            addCriterion("FeedID not in", values, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidBetween(Integer value1, Integer value2) {
            addCriterion("FeedID between", value1, value2, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidNotBetween(Integer value1, Integer value2) {
            addCriterion("FeedID not between", value1, value2, "feedid");
            return (Criteria) this;
        }

        public Criteria andAreaidIsNull() {
            addCriterion("AreaID is null");
            return (Criteria) this;
        }

        public Criteria andAreaidIsNotNull() {
            addCriterion("AreaID is not null");
            return (Criteria) this;
        }

        public Criteria andAreaidEqualTo(Integer value) {
            addCriterion("AreaID =", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotEqualTo(Integer value) {
            addCriterion("AreaID <>", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidGreaterThan(Integer value) {
            addCriterion("AreaID >", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidGreaterThanOrEqualTo(Integer value) {
            addCriterion("AreaID >=", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidLessThan(Integer value) {
            addCriterion("AreaID <", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidLessThanOrEqualTo(Integer value) {
            addCriterion("AreaID <=", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidIn(List<Integer> values) {
            addCriterion("AreaID in", values, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotIn(List<Integer> values) {
            addCriterion("AreaID not in", values, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidBetween(Integer value1, Integer value2) {
            addCriterion("AreaID between", value1, value2, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotBetween(Integer value1, Integer value2) {
            addCriterion("AreaID not between", value1, value2, "areaid");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNull() {
            addCriterion("outTime is null");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNotNull() {
            addCriterion("outTime is not null");
            return (Criteria) this;
        }

        public Criteria andOuttimeEqualTo(Date value) {
            addCriterion("outTime =", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotEqualTo(Date value) {
            addCriterion("outTime <>", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThan(Date value) {
            addCriterion("outTime >", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("outTime >=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThan(Date value) {
            addCriterion("outTime <", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThanOrEqualTo(Date value) {
            addCriterion("outTime <=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeIn(List<Date> values) {
            addCriterion("outTime in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotIn(List<Date> values) {
            addCriterion("outTime not in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeBetween(Date value1, Date value2) {
            addCriterion("outTime between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotBetween(Date value1, Date value2) {
            addCriterion("outTime not between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andOutquantityIsNull() {
            addCriterion("outQuantity is null");
            return (Criteria) this;
        }

        public Criteria andOutquantityIsNotNull() {
            addCriterion("outQuantity is not null");
            return (Criteria) this;
        }

        public Criteria andOutquantityEqualTo(Float value) {
            addCriterion("outQuantity =", value, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityNotEqualTo(Float value) {
            addCriterion("outQuantity <>", value, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityGreaterThan(Float value) {
            addCriterion("outQuantity >", value, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityGreaterThanOrEqualTo(Float value) {
            addCriterion("outQuantity >=", value, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityLessThan(Float value) {
            addCriterion("outQuantity <", value, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityLessThanOrEqualTo(Float value) {
            addCriterion("outQuantity <=", value, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityIn(List<Float> values) {
            addCriterion("outQuantity in", values, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityNotIn(List<Float> values) {
            addCriterion("outQuantity not in", values, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityBetween(Float value1, Float value2) {
            addCriterion("outQuantity between", value1, value2, "outquantity");
            return (Criteria) this;
        }

        public Criteria andOutquantityNotBetween(Float value1, Float value2) {
            addCriterion("outQuantity not between", value1, value2, "outquantity");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andProducedateIsNull() {
            addCriterion("ProduceDate is null");
            return (Criteria) this;
        }

        public Criteria andProducedateIsNotNull() {
            addCriterion("ProduceDate is not null");
            return (Criteria) this;
        }

        public Criteria andProducedateEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate =", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateNotEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate <>", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateGreaterThan(Date value) {
            addCriterionForJDBCDate("ProduceDate >", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate >=", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateLessThan(Date value) {
            addCriterionForJDBCDate("ProduceDate <", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate <=", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateIn(List<Date> values) {
            addCriterionForJDBCDate("ProduceDate in", values, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateNotIn(List<Date> values) {
            addCriterionForJDBCDate("ProduceDate not in", values, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ProduceDate between", value1, value2, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ProduceDate not between", value1, value2, "producedate");
            return (Criteria) this;
        }

        public Criteria andExpiredateIsNull() {
            addCriterion("ExpireDate is null");
            return (Criteria) this;
        }

        public Criteria andExpiredateIsNotNull() {
            addCriterion("ExpireDate is not null");
            return (Criteria) this;
        }

        public Criteria andExpiredateEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate =", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateNotEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate <>", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateGreaterThan(Date value) {
            addCriterionForJDBCDate("ExpireDate >", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate >=", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateLessThan(Date value) {
            addCriterionForJDBCDate("ExpireDate <", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate <=", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateIn(List<Date> values) {
            addCriterionForJDBCDate("ExpireDate in", values, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateNotIn(List<Date> values) {
            addCriterionForJDBCDate("ExpireDate not in", values, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ExpireDate between", value1, value2, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ExpireDate not between", value1, value2, "expiredate");
            return (Criteria) this;
        }

        public Criteria andLeadpersonIsNull() {
            addCriterion("LeadPerson is null");
            return (Criteria) this;
        }

        public Criteria andLeadpersonIsNotNull() {
            addCriterion("LeadPerson is not null");
            return (Criteria) this;
        }

        public Criteria andLeadpersonEqualTo(String value) {
            addCriterion("LeadPerson =", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonNotEqualTo(String value) {
            addCriterion("LeadPerson <>", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonGreaterThan(String value) {
            addCriterion("LeadPerson >", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonGreaterThanOrEqualTo(String value) {
            addCriterion("LeadPerson >=", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonLessThan(String value) {
            addCriterion("LeadPerson <", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonLessThanOrEqualTo(String value) {
            addCriterion("LeadPerson <=", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonLike(String value) {
            addCriterion("LeadPerson like", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonNotLike(String value) {
            addCriterion("LeadPerson not like", value, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonIn(List<String> values) {
            addCriterion("LeadPerson in", values, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonNotIn(List<String> values) {
            addCriterion("LeadPerson not in", values, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonBetween(String value1, String value2) {
            addCriterion("LeadPerson between", value1, value2, "leadperson");
            return (Criteria) this;
        }

        public Criteria andLeadpersonNotBetween(String value1, String value2) {
            addCriterion("LeadPerson not between", value1, value2, "leadperson");
            return (Criteria) this;
        }

        public Criteria andStoremanIsNull() {
            addCriterion("Storeman is null");
            return (Criteria) this;
        }

        public Criteria andStoremanIsNotNull() {
            addCriterion("Storeman is not null");
            return (Criteria) this;
        }

        public Criteria andStoremanEqualTo(String value) {
            addCriterion("Storeman =", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotEqualTo(String value) {
            addCriterion("Storeman <>", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanGreaterThan(String value) {
            addCriterion("Storeman >", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanGreaterThanOrEqualTo(String value) {
            addCriterion("Storeman >=", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanLessThan(String value) {
            addCriterion("Storeman <", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanLessThanOrEqualTo(String value) {
            addCriterion("Storeman <=", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanLike(String value) {
            addCriterion("Storeman like", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotLike(String value) {
            addCriterion("Storeman not like", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanIn(List<String> values) {
            addCriterion("Storeman in", values, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotIn(List<String> values) {
            addCriterion("Storeman not in", values, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanBetween(String value1, String value2) {
            addCriterion("Storeman between", value1, value2, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotBetween(String value1, String value2) {
            addCriterion("Storeman not between", value1, value2, "storeman");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}